
package net.opengis.kml;

/** 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:complexType xmlns:ns="http://www.opengis.net/kml/2.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" name="ColorStyleType">
 *   &lt;xs:complexContent>
 *     &lt;xs:extension base="ns:ObjectType">
 *       &lt;xs:sequence>
 *         &lt;xs:element type="xs:hexBinary" default="ffffffff" name="color" minOccurs="0"/>
 *         &lt;xs:element type="ns:colorModeEnum" default="normal" name="colorMode" minOccurs="0"/>
 *       &lt;/xs:sequence>
 *     &lt;/xs:extension>
 *   &lt;/xs:complexContent>
 * &lt;/xs:complexType>
 * </pre>
 */
public abstract class ColorStyleType extends ObjectType
{
    private byte[] color;
    private ColorModeEnum colorMode;

    /** 
     * Get the 'color' element value.
     * 
     * @return value
     */
    public byte[] getColor() {
        return color;
    }

    /** 
     * Set the 'color' element value.
     * 
     * @param color
     */
    public void setColor(byte[] color) {
        this.color = color;
    }

    /** 
     * Get the 'colorMode' element value.
     * 
     * @return value
     */
    public ColorModeEnum getColorMode() {
        return colorMode;
    }

    /** 
     * Set the 'colorMode' element value.
     * 
     * @param colorMode
     */
    public void setColorMode(ColorModeEnum colorMode) {
        this.colorMode = colorMode;
    }
}
